package com.rcloud.server.sealtalk.domain;

import java.util.Date;
import javax.persistence.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
    * APP协议说明相关
    */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "agreement_explain")
public class AgreementExplain {
    /**
     * 主键ID
     */
    @Id
    @Column(name = "id")
    private Long id;

    /**
     * 标题
     */
    @Column(name = "title")
    private String title;

    /**
     * 协议内容
     */
    @Column(name = "content")
    private String content;

    /**
     * 类型 1:注册协议  2:隐私政策 3 商户认证条款
     */
    @Column(name = "explain_type")
    private Integer explainType;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @Column(name = "update_time")
    private Date updateTime;
}